package com.drivers.homepage.mapper;

import com.drivers.homepage.domain.OrderInformation;

import java.util.List;

public interface OrderInformationMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(OrderInformation record);

	int insertSelective(OrderInformation record);

	OrderInformation selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(OrderInformation record);

	int updateByPrimaryKey(OrderInformation record);

	List<OrderInformation> getAllOrder();

	void updateOrderInformation(String orderId);

	void updateOrderStatus(String orderId, Integer OrderStatus);

	// 接单修改司机id
	void updateDriverId(String orderId, Integer driverId);
}